//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-20
//
//  File Name:	YHQDockWidget.cpp
//
//  Notes:
//
//======================================================================================

#include "YHQDockWidget.h"

//Qt Library
#include <QDir>
#include <QStringList>
#include <QTextEdit>

//-----------------------------------------------------
YHQDockWidget::YHQDockWidget(QWidget *parent)
    : QDockWidget(parent)
    , m_pOutsideTextEdit(NULL)
{
}
//-----------------------------------------------------
YHQDockWidget::~YHQDockWidget()
{
    m_pOutsideTextEdit = NULL;//out side pointer
}
//-----------------------------------------------------
void YHQDockWidget::OutPutMessage(const QString & iString)
{
    if(m_pOutsideTextEdit)m_pOutsideTextEdit->append(iString);
}
//-----------------------------------------------------
